Introduce Parameter
The book has now been published and the content of this chapter has likely changed substanstially.A value used inside a method needs to be passed as a parameter.
The Introduce Parameter refactoring is used to add a parameter in a method declaration if you need some value to be passed in a method call. The method usage(s) are changed also. References to the parameter are resolved unlike in the Change Method Signature refactoring (where an introduced statement is simply inserted as text).
From [JBrains].
Further Reading
http://www.jetbrains.com/idea/docs/help/refactoring/introducefield.htmlCopyright © 2003-2008 Gerard Meszaros all rights reserved